package movies.repository;

import movies.domain.User;

/**
 *
 * @author Hanna_Aliakseichykava
 */
public interface IUserRepository {

   public User registration(final User user);

   public User getUserByLogin(final String login);

   public User getUserById(final int id);

   public void deleteUser(final User user);

    public void updateUser(final User user);

}
